﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace PoemonAdventures
{
    class HelpScreen
    {
        KeyboardState keyState;

        public void Update(GameTime gameTime)
        {
            keyState = Keyboard.GetState();
            if (keyState.IsKeyDown(Keys.A))
            {
                ScreenManager.gameState = GameState.Menu;
            }
        }

        internal void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin();
            spriteBatch.DrawString(ScreenManager.osdFont, "Press \"A\" to return", new Vector2(10, 10), Color.Black);
            spriteBatch.End();
        }
    }
}
